﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChongJu.EventManager.Camera
{
    public class CameraEvent
    {
        public static event Action<int, int, int> CameraRGBEvent;

        public static void OnCameraRGB(int r, int g, int b)
        {
            CameraRGBEvent?.Invoke(r, g, b);
        }

        public static event Action<int, double> CalibrationParamerEvent;

        public static void OnCalibrationParamer(int imageCount, double range)
        {
            CalibrationParamerEvent?.Invoke(imageCount, range);
        }
    }
}
